package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI5;

import java.util.Scanner;

public class Views {
	public static void main(String[] args) {
		Controllers controllers = new Controllers();
		Scanner sc = new Scanner(System.in);
		Pheptinh obj = new Pheptinh();
		System.out.println("Nhap gia tri so hang thu nhat:");
		obj.setA(sc.nextDouble());
		System.out.println("Nhap so hang thu hai: ");
		sc = new Scanner(System.in);
		obj.setB(sc.nextDouble());
		System.out.println("Chon phep tinh 1. Cong/ 2. Tru/ 3. Nhan/4. Chia ");
		sc = new Scanner(System.in);
		obj.setPheptinh(sc.nextInt());
		controllers.tinhToan(obj);
	}
}
